﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    @RenderSection("Styles", false)
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <a href="../Home/Index"><img src="../../Images/logo.png" height="50px"/></a>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            
        </header>

        <nav id="tabs">
            <ul id="menu">
                <li>@Html.ActionLink("Search Questions", "SearchIndex", "QuestionAndResponsesModel")</li>
                <li>@Html.ActionLink("Recent Questions", "RecentIndex", "QuestionAndResponsesModel")</li>
                <li>@Html.ActionLink("Unanswered Questions", "UnansweredIndex", "QuestionAndResponsesModel")</li>
                <li>@Html.ActionLink("Ask Question", "Ask", "Question")</li>

                @if (User.IsInRole("Admin")){
                    <li>@Html.ActionLink("Admin", "AdminIndex", "QuestionAndResponsesModel")</li>
                }
                
            </ul>
        </nav>
         
        <section id="main">
            
            @RenderBody()
        </section>
        <footer>
        @Html.ActionLink("Contact Us", "ContactUs","Home")
        @Html.ActionLink("Privacy Notice", "PrivacyNotice", "Home")
         <div id="copyright">&copy; 2011 BeanOverflow.com LLC </div>
        </footer>

    </div>
</body>
</html>
